package com.xy.frame.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import com.xy.frame.model.AjaxJson;

@Controller
@RequestMapping("/log")
public class LogController {

	Logger logger = LoggerFactory.getLogger(LogController.class);

	@RequestMapping(value = "list", method = RequestMethod.GET)
	@ResponseBody
	public AjaxJson queryList(@RequestParam(defaultValue = "1") String page,
			@RequestParam(defaultValue = "10") String pagesize) {
		AjaxJson j = new AjaxJson();

		if (logger.isDebugEnabled()) {
			logger.debug("请求【/log/list】响应结果【" + j + "】");
		}
		return j;
	}
}